let Rule = require("../rule.js")
class RequiredRule extends Rule{
	name(){
		return 'required'
	}
	check(column,value,values,params){
		return typeof value !== 'undefined' && value !== '' && value !== null
	}
}
module.exports = RequiredRule